package lab02.test06;

public class Ladder {
    double upSide;
    double downSide;
    double high;

    double area() {
        return (float) (((upSide + downSide) * high) / 2);

    }

    public static void main(String[] args) {

    }
}